//
//@File    :	7.1_calling.cpp
//@Time    :	2021/08/09 16:58:14
//@Auther  :	Sun Sheng
//@Contact :	970340843@qq.com
//@Desc    :	defining,prototyping,and calling a function
//

#include <iostream>
void simple();

using namespace std;
int main()
{
    cout << "main() will call the simple() function:\n";
    simple(); //funciton call
    cout << "main() is finished with the simple() function.\n";
    system("pause");//或者用
    //cin.get();
    return 0;
}
//function definition
void simple()
{
    cout << "I'm but a simple function.\n";
}